package com.yimiyisu.contract_cust.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class CategoryDO {
    private String id;
    private String title;
    private String parentId;
    private Integer isLeaf;
    private List<CategoryDO> children = new ArrayList<>();

}
